﻿// ***********************************************************************
// Assembly         : INNOVACALL.Framework.Common
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="LayoutMenu_MetaModel.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Security;
using INNOVACALL.Framework.Common.Models.ViewModels.MetaData.LayoutMenus;
using INNOVACALL.Framework.Common.MVCHelpers.Localization;
using System.ComponentModel.DataAnnotations;

namespace INNOVACALL.Framework.Common.Models.ViewModels.MetaModels.LayoutMenus
{
    /// <summary>
    /// Class LayoutMenu_MetaModel
    /// </summary>
    public class LayoutMenu_MetaModel : LayoutMenu_MetaData
    {
        /// <summary>
        /// Gets or sets the controllers.
        /// </summary>
        /// <value>The controllers.</value>
        [Display(Name = "Ety_LayoutMenu_Controllers", ResourceType = typeof(INNOVACALL.Framework.Common.Properties.Resources))]
        public List<SelectListItem> Controllers { get; set; }
        /// <summary>
        /// Gets or sets the default actions.
        /// </summary>
        /// <value>The default actions.</value>
        [Display(Name = "Ety_LayoutMenu_Action", ResourceType = typeof(INNOVACALL.Framework.Common.Properties.Resources))]
        public List<SelectListItem> DefaultActions { get; set; }
        /// <summary>
        /// Gets or sets the translations.
        /// </summary>
        /// <value>The translations.</value>
        [Display(Name = "Ety_LayoutMenu_Translations", ResourceType = typeof(INNOVACALL.Framework.Common.Properties.Resources))]
        public List<LayoutMenu_Translation_MetaModel> Translations { get; set; }
        /// <summary>
        /// Gets or sets the refresh menu bar language.
        /// </summary>
        /// <value>The refresh menu bar language.</value>
        public string ContentLanguage { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="LayoutMenu_MetaModel"/> class.
        /// </summary>
        public LayoutMenu_MetaModel()
        {
            base.Id = -1;
            this.ContentLanguage = string.Empty;
            this.Controllers = new List<SelectListItem>();
            this.DefaultActions = new List<SelectListItem>();
            this.Translations = new List<LayoutMenu_Translation_MetaModel>();
        }
    }
}
